#!/bin/bash
 #spark-submit  --class KafkaStream --master yarn  --deploy-mode client --jars /home/jack/.ivy2/cache/org.apache.spark/spark-streaming-kafka-0-10_2.11/jars/spark-streaming-kafka-0-10_2.11-2.2.1.jar  target/scala-2.11/studyspark-assembly-1.0.jar
 spark-submit  --class KafkaStream  --num-executors 50 --master yarn --jars target/scala-2.11/studyspark-assembly-1.0.jar  --deploy-mode client  target/scala-2.11/studyspark-assembly-1.0.jar
 #spark-submit   --master yarn --deploy-mode cluster  --class NetworkWordCount target/scala-2.11/studyspark-assembly-1.0.jar 192.168.3.226  9999
